package com.niit.springbootshop.dao;

import com.niit.springbootshop.entity.Orderitem;
import com.niit.springbootshop.entity.Orders;

public interface OrdersDao {
    int deleteByPrimaryKey(Integer oid);

    int insert(Orders record);

    int insertSelective(Orders record);

    Orders selectByPrimaryKey(Integer oid);

    int updateByPrimaryKeySelective(Orders record);

    int updateByPrimaryKey(Orders record);

    int insertOrders(Orders orders);

    int insertOrderItem(Orderitem orderItem);
}